* Add support for setting groups on session when using basic auth * Refactoring based on feedback * Attribution
mentioned in commit 7bb7e99e