Fix for 401 handling in angular interceptor