Fixed an issue with new users not getting created properly and instead throwing and exception.