Login using a post instead of a redirect get