Fix for sign-in routing issues