Oauth login

Merge of OAuth 2 client support ('authorization' grant type only), and several improvements in authenticator structure.