login command to log in as user to endpoint and store in ~/.srclib-auth