Fixed logic error that would cause failures whenever no access key is specified for the server