Fixed redirect to return_url on login and logout.