because OC_User::login will create a new session we shall only try to lo...

...gin if user and pass are set

ensure to never destroy an existing session

Placeholder PR for Jenkins - #7925 
I also rebased.