Fixed a slign in redirect issue if navigating direcxtly to signin