Updated to store admin password. 

Also added a log message since I kept forgetting to update the credentials.js file and the error from the defer.reject function is much very not helpful.