*8684* Moved signIn/OutAsUser code to shared library
Merge pull request #157 from MichaelThessel/8684_sign_in_as_to_pkp_lib

*8684* Moved signIn/OutAsUser code to shared library