The session ends the end_date at 23.59.59 see BT#7740

Conflicts:
	main/inc/lib/main_api.lib.php
Adding 23:59:59 as  end_date limit see BT#7740

Conflicts:
	main/inc/lib/main_api.lib.php
	main/inc/lib/userportal.lib.php
Merge pull request #28 from DeEvo/7959

Fix bug -refs BT#7959