Added support for server validation on sign-in