Authentication Explained: When to Use Basic, Bearer, OAuth2, JWT and SSO