Added bean validation to login request.