Security tight as one million join Islamic gathering in Bangladesh