Replaced hard coded credentials with call to settings manager.