31: Add some extra logging info if checkPerms() can't fetch an object
Some misc. tweaks for login redirect, failed socket.io auth

* this will break the static iOS version
Remove socket.io authorization for now - application must handle this for now

* more flexible for the application, but more work as well
Fetch user from the DB by ID, instead of username