Move authentication to accounts app