Added HEAD HTTP verb to UiAuthenticator, fixes NPE.