Fix minor issues.

* Remove custom auth token support.
* Remove modification time support.
* Refactor things a bit.