fixed a bug with the authentication and made it compatible with the new restberry-modules