Added unit test for missing user

Added unit test for no user found during authenticate.