Don't let the user read back the auth key once set. Update the test case, and also add a test case for removing a set auth key.
Fix minor style issues.