Fix for server side on-fly authentication
Merge branch 'user' of https://github.com/pi-engine/pi into user