Removed disableDevtools from the security features because it was redundant with the popup feature, which caused the authentication popup to always close.
Complete the logic checking and loading on the OAuth module callback handler.