WIP oauthclient/accounts: permanent login support

* Sets session.permanent when then user marks 'remember me'.

* Allows configuration of oauth login to set if session should
  be permanent.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
It should be probably argument of `authenticate` function.