Moved the login script for namespace issues.