Fix NPE on logon/reset when no state is available.
In AuthenticationRequiredResult return lastResultSuccessfull boolean so client can track failures.