Fixed authInterceptor to redirect to login page if invalid credentials