SAMl Authentication not working

Fixed and described here