Added failing test for Flask-Login. My guess is that `current_user` is not set outside the request context.
Merge