oauthclient: authorize url fix
oauthclient: authorize url fix

* Changes authorize url to redirect to login form instead of register.
  (closes #2487)

* Moves imports inside functions.

Reviewed-by: Jiri Kuncar <2bdffcb416fed3002465740d19a053a39918cbe5@cern.ch>
Signed-off-by: Georgios Papoutsakis <1dfd6f81ed6753deb22b318bd8b82b48e2fe807e@cern.ch>

inveniosoftware/invenio,tiborsimko/invenio,inveniosoftware/invenio,tiborsimko/invenio