fix oauth issues if redirecting in a form | http custom status error message

Changed redirections signalling from 307 (moved temporarily) to 302 (found) to avoid using wrong request method

Added custom status message in HTTP.