OAuth 2.0 authentication with preservation of information about the user in sessions