Added UserController getIdentity() tests, invalid role fix