Follow up to commit b9d467d

Forgot to change session key to new Flask-Principal attribute name, which caused issues on logout sometimes (but weirdly not always).

Closes #107
Merge branch 'devel' into repetier