Fixing key error in Keystone authentication