Fixed bug where sign in modal would flash when user was already logged i...

...n