fixed some sonar violations and added test for null check
server http scheme, server port and server host are now configurable with osiam.properties file