AuthenticationShadow implemented. Used in authorisation, but not yet for authentication.