Authenticate Exception modified