Logging in redirects to success page rather than a static message.