Many Authentication Bug Fixes