Nothing is tested in this module and I feel that is the reason why it is so hard to fix issues and thus the issue queue is very static.

Starting by identifying testable scenarios and core logic within the module's codebase.


Title:Add tests to moduleAdd tests to OAuth module

Added OAuth to title.