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 <jiri.kuncar@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>