Fix login from firm