LoginException Handling Fix