fix oauth issues if redirecting in a form

Changed redirections signalling from 307 (moved temporarily) to 302 (found) to avoid using wrong request method