Hack to allow login from frontend to Flask Admin