USERGRID-77 can't login for newly created user due to NPE