Fix navigation on authentication