Added aspects to intercept requests when authentication is needed.