Fix timeouts on authorized/claim tests
Add tests for authorized and claim with no username set
Add test for whoami with no username set