Fixed a bug introduced last class with sign-in.