merge fxa migration in login.js for now to solve dependency issues