Allow oauth2.authorize_handler to allow get and post thead response

Fix when POST is was done in a view where is decorated with oauth2.authorize_handler and user wasn't logged in and receive a redirect to login view.

And allow authorize an already authorized user and don't need to show again the authorize html and do a POST again.