Let's e.g. GitHub["CreateRepository", "temp"]. It will ask you to login with BTools' dialog (blue header). If credentials are invalid the second prompt will be different, I guess it is the native one but it is slightly different than the default for URLRead and friends. Anyway, whatever you put there you will get 401 response, even if this time credentials were ok.
Can you reproduce the problem?