You should probably test here that the user is properly logged in when a user is created.