[#639] Clean logic.auth.update
[#639] PEP8
Merge pull request #639 from okfn/639-clean-logic-auth-update

logic.auth.update is a mess