Auth/Misc: Code cleanup.

*Random performance optimizations