Created a LoginException so login errors are more clear.