Redirect to home page after successful login if no next page was specified.