Authentication with ApiKey as an alternative to Password

This is an initial workup to prompt discussion. No tests yet but I can add them if everyone feels this is worth pursuing.