Authenticate method

Introduce authenticate method to get original exception on login failures.