Fix login from header